package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.ProjectRabateDTO;

public interface IProjectRabateDao extends IBaseDao {
	
	/**
	 * 
	* @Title: insertProjectAnnualRevenue 
	* @Description: 插入产品返佣率
	* @param   projectAnnualRevenueDto
	* @return Integer   
	* @throws
	 */
	public Integer insertProjectRabate(ProjectRabateDTO projectRabateDTO);
	
	/**
	 * 
	* @Title: queryProjectAnnualRevenueList 
	* @Description: 查询单个产品的返佣率
	* @param   pid
	* @return List<ProjectAnnualRevenueDTO>   
	* @throws
	 */
	public List<ProjectRabateDTO> queryProjectRabateList(ProjectRabateDTO projectRabateDTO);
	
	/**
	 * 
	* @Title: deleteProjectAnnualRevenue 
	* @Description: 删除产品返佣率
	* @param   pid
	* @param @throws SQLException    
	* @return int   
	* @throws
	 */
	public int deleteProjectRabate(Integer pid) throws SQLException;
}
